<!--#layout("/common/layout.html",{"jsBase":"/js/contract/contractInfo/"}){ -->
<div class="layui-row">
    <form id="searchForm" class="layui-form layui-form-pane">
        <div class="layui-collapse" lay-filter="condictionCol">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">查询条件</h2>
                <div class="layui-colla-content layui-show">
                    <div class="layui-row">
                        <div class="layui-form-item">
                            <div class="layui-inline">

                                <label class="layui-form-label">合同号</label>

                                <div class="layui-input-inline">
                                    <input type="text" name="invoiceNo" autocomplete="off" class="layui-input">
                                </div>


                                <label class="layui-form-label">家长姓名</label>

                                <div class="layui-input-inline">
                                    <input type="text" name="customerName" autocomplete="off" class="layui-input">
                                </div>

                                <label class="layui-form-label">家长手机号</label>

                                <div class="layui-input-inline">
                                    <input type="text" name="customerPhone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>

                        <div class="layui-row">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">学生姓名</label>
                                    <div class="layui-input-inline">
                                        <input type="text" name="studentName" autocomplete="off" class="layui-input">
                                    </div>

                                    <label class="layui-form-label">签单老师</label>
                                    <div class="layui-input-inline">
                                        <layui:simpleDataSelect name="seller" value="" data="${customerInfoList}"
                                                                attrId="customerId" attrName="customerName"
                                                                layFilter="customerFilter" id="customer_author"
                                                                laySearch="true"/>
                                    </div>
                                    <label class="layui-form-label">付款状态</label>
                                    <div class="layui-input-inline">
                                        <select name="fkStatus" lay-verify="">
                                            <option value="">不限制</option>
                                            <option value="0">待付款</option>
                                            <option value="1">已付款</option>
                                            <option value="2">已确认</option>
                                        </select>
                                    </div>

                                </div>
                            </div>
                        </div>

                        <div class="layui-row">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">录单日期</label>
                                    <div class="layui-input-inline">
                                        <div class="date-range-pick">
                                            <input type="text" name="createdTimeQuery" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <button style="float: right;" class="layui-btn layui-btn-normal" type="button"
                                            id="searchFormSearch">搜索
                                    </button>
                                </div>
                            </div>
                        </div>


                    </div>
                </div>
            </div>
        </div>
</div>

</div>
</form>
</div>

<div class="layui-btn-group">
    <layui:accessButton function="contract.contractInfo.edit" action="edit">编辑</layui:accessButton>
    <!--<layui:accessButton function="contract.contractInfo.add" action="add">添加</layui:accessButton>-->
    <layui:accessButton function="contract.contractInfo.create" action="create">新建</layui:accessButton>
    <layui:accessButton function="contract.contractInfo.del" action="del">删除</layui:accessButton>

    <layui:accessButton function="contract.contractInfo.sendMessages" action="sendMessages">通知签署</layui:accessButton>
    <layui:accessButton function="contract.contractInfo.confirm" action="confirmPay">确认收款</layui:accessButton>
    <layui:accessButton function="contract.contractInfo.applyRefund" action="applyRefund">申请退款</layui:accessButton>
    <layui:accessButton function="contract.contractInfo.auditRefund" action="auditRefund">审核退款</layui:accessButton>
    <layui:accessButton function="contract.contractInfo.confirmRefund" action="confirmRefund">确认退款</layui:accessButton>
    <layui:accessButton function="contract.contractInfo.serviceList" action="serviceList">服务详情</layui:accessButton>
</div>

<table id="contractInfoTable" lay-filter="contractInfoTable"></table>
<!--#} -->

<script>

</script>

<script>
    layui.use(['index','jquery'], function () {
        var index = layui.index;

        index.init();
        // var createjs = layui.createjs;
        // createjs.clickbutton();

    });

    $(document).on('click','buttont[name="pdfs"]',function () {
        var url = $(this).attr('href').replace('/opt/static','http://static.51sdx.com/images')
        window.open(url)
    })


</script>
